package com.demo.gateway.pojo;

import java.util.Date;
import java.util.List;

import org.springframework.format.annotation.DateTimeFormat;

import com.fasterxml.jackson.annotation.JsonFormat;

import lombok.Data;

/**
 * @author: demo
 * @date: 2020年7月3日
 * @Document : service-framework 注册bean
 */
@Data
public class AutoRegisterGatewayRoutesDTO {

	private String applicationName;
	private String registerGateway;
	private Integer defaultRelease;
	@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
	@JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone = "GMT+8") 
	private Date startTime;
	private String version;
	private List<AutoRegisterPathDTO> paths;
}
